﻿@model SklepISI.Web.Models.Admin.ProductViewModel

@{
    ViewBag.Title = "RemoveProduct";
    Layout = "~/Views/Shared/_Layout.cshtml";
}

<form class="form-horizontal well" action="RemoveProduct" method="post">
    Czy chcesz usunąć produkt @Model.Product.Name ?    
    @Html.HiddenFor(model => model.Product.ProductId)
    @Html.HiddenFor(model => model.Product.Name)
    @Html.HiddenFor(model => model.Product.Price)
    @Html.HiddenFor(model => model.Product.IsAvailable)
    @Html.HiddenFor(model => model.Product.Description)    
    <div class="controls-row">  
        @Html.ActionLink("Anuluj", "ListProducts", null, new { @class = "btn" })
        <input type="submit" class="btn btn-primary" value="Usuń"/>
    </div>
</form>
